﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assessment.Management.SharedComponent.Params.ManagerParam;
using Assessment.Management.DAO.CommonManagers;

namespace Assessment.Management.BIZ.CommonBIZ
{
    public class TeacherBIZ
    {
        public void GetTeacher(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.GetListTeacher(param);
        }
        public void DeleteTeacher(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.DeleteTeachers(param);
        }

        public void GetLastTeacherCode(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.GetLastTeacherCode(param);
        }

        public void GetTeacherToEditByCode(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.GetTeacherToEditByCode(param);
        }

        public void CreateTeacher(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.CreateTeacher(param);
        }

        public void UpdateTeacher(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.UpdateTeacher(param);
        }

        public void SearchTeachers(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.SearchTeachers(param);
        }

        public void CheckExitsTeacherData(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.CheckExitsTeacherData(param);
        }
        public void GetListTeacherByDepartmentID(TeacherParam param)
        {
            var dao = new TeacherDAO();
            dao.GetListTeacherByDepartmentID(param);
        }
    }
}
